package com.opNaga.bpmp.swimlane;

import com.opNaga.bpmp.BPMPElement;

import java.util.Iterator;

/**
 * User: Junyi BEI
 * Date: 24/01/2012
 * Time: 20:05
 */
public interface Container extends HasRoot {
  public BPMPElement getParent();

  public boolean isRoot();

  public boolean addElement(BPMPElement be);

  public boolean contains(BPMPElement be);

  public boolean removeElement(BPMPElement be);

  public boolean isEmpty();

  public Iterator<BPMPElement> iterateElements();
}
